package cn.tedu.personal_patient.information.dao.persist.mapper;


import cn.tedu.personal_patient.information.pojo.entity.Staff;
import cn.tedu.personal_patient.information.pojo.vo.StaffVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StaffMapper extends BaseMapper<Staff> {
    /**
     *
     * 根据id查看员工信息
     * @param id
     * @return
     */
    List<StaffVO> listById(Long id);
    StaffVO selectById(Long id);

    int avatar(Staff staff);
}
